﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ClsCustomControls
{
    public partial class DBDropDownList : ComboBox
    {   
        private String campoBaseDatos;
        private String DBCodeColum;
        private String DBDescrColum;


        public DBDropDownList()
        {
            InitializeComponent();
        }

        protected override void OnPaint(PaintEventArgs pe)
        {
            base.OnPaint(pe);
        }

        public String DBFieldName
        {
            get { return campoBaseDatos;}
            set { campoBaseDatos = value; }
        }

        public String DBCodeColumnBind
        {
            get { return DBCodeColum; }
            set { DBCodeColum = value; }
        }

        public String DBDescColumnBind
        {
            get { return DBDescrColum; }
            set { DBDescrColum = value; }
        }

        public override Color BackColor { get { return Color.White; } }

    }
}
